home *** CD-ROM | disk | FTP | other *** search
- package com.ms.dxmedia;
-
- import com.ms.com.ComFailException;
- import com.ms.dxmedia.rawcom.DABoolean;
- import com.ms.dxmedia.rawcom.IDABehavior;
- import com.ms.dxmedia.rawcom.IDABoolean;
-
- public class BooleanBvr extends Behavior {
- private IDABoolean _COMptr;
-
- public void setCOMBvr(IDABehavior var1) {
- super.setCOMBvr(var1);
- this._COMptr = (IDABoolean)var1;
- }
-
- public static BooleanBvr newUninitBvr() {
- return new BooleanBvr(new DABoolean());
- }
-
- protected Behavior newUninitBehavior() {
- return newUninitBvr();
- }
-
- public IDABoolean getCOMPtr() {
- return this._COMptr;
- }
-
- public Object extract() {
- try {
- return new Boolean(this.getCOMPtr().Extract());
- } catch (ComFailException var3) {
- throw StaticsBase.handleError(var3);
- }
- }
-
- public BooleanBvr(IDABoolean var1) {
- super(var1);
- this._COMptr = var1;
- }
-
- public BooleanBvr() {
- super((IDABehavior)null);
- this._COMptr = null;
- }
- }
-